package com.ark.cloud.dataservices.modules.sys.entity.form;

import com.ark.cloud.dataservices.common.web.entity.form.BaseForm;
import com.ark.cloud.dataservices.modules.sys.entity.po.Seat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = true)
public class SeatForm extends BaseForm<Seat> {

    @NotBlank(message = "席位IP不能为空")
    private String ipaddr;

    @NotBlank(message = "席位名不能为空")
    private String name;

    @NotBlank(message = "席位License不能为空")
    private String license;

    private String description;

    private String type;
}
